/**
 * Order.java
 * 10.08.2010
 */
package org.example.booking;

import java.math.BigDecimal;

import org.apache.commons.lang.builder.ToStringBuilder;

/**
 * <p>
 * </p>
 * @author tserge
 * @since 10.08.2010
 */
public class Order
{
  private String orderId;
  private OrderType type;
  private OrderStatus status;
  private BigDecimal bonus;
  private BigDecimal roomPrice;
  private String room;

  public String getOrderId()
  {
    return orderId;
  }

  public void setOrderId( final String orderId )
  {
    this.orderId = orderId;
  }

  public OrderType getType()
  {
    return type;
  }

  public void setType( final OrderType type )
  {
    this.type = type;
  }

  public OrderStatus getStatus()
  {
    return status;
  }

  public void setStatus( final OrderStatus status )
  {
    this.status = status;

  }

  public BigDecimal getBonus()
  {
    return bonus;
  }

  public void setBonus( final BigDecimal bonus )
  {
    this.bonus = bonus;
  }

  public BigDecimal getRoomPrice()
  {
    return roomPrice;
  }

  public void setRoomPrice( final BigDecimal roomPrice )
  {
    this.roomPrice = roomPrice;
  }

  public String getRoom()
  {
    return room;
  }

  public void setRoom( final String room )
  {
    this.room = room;
  }

  @Override
  public String toString()
  {
    return new ToStringBuilder( this ).append( "orderId", orderId )
      .append( "type", type )
      .append( "status", status )
      .append( "bonus", bonus )
      .append( "roomPrice", roomPrice )
      .append( "room", room )
      .toString();
  }

}
